package app.com.myanr;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    public void but_thread (View view ) {
        Intent intent = new Intent(MainActivity.this,ThreadActivity.class);
        startActivity(intent);
    }

    public void but_runnable (View view ) {
        Intent intent = new Intent(MainActivity.this,RunnableActivity.class);
        startActivity(intent);
    }

    public void but_handle (View view ) {
        Intent intent = new Intent(MainActivity.this,HandleActivity.class);
        startActivity(intent);
    }

    public void but_asyncTask (View view ) {
        Intent intent = new Intent(MainActivity.this,AsyncTaskActivity.class);
        startActivity(intent);
    }
}
